{extends file="assets::smarty-templates::Master"|ToPath}
{block name="content"}
{html_css file="elecciones.css"}
<form action="{$action}" method="post" class="form-validate" ENCTYPE="multipart/form-data">    
    <h1>Formulario de Inscripci&oacute;n de Representante</h1>
    <input type="hidden" name="role" value="{$role}" />
    {if $role == "ROLE_STUDENT"}
        {include file="{$Module.views}estudiante.tpl"}
    {else}
        {include file="{$Module.views}docente.tpl"}
    {/if}
    <div style="float: right;">
        <button type="submit" class="small icon i_mail">Enviar</button>
        <a class="small btn icon i_exit" href="index.php?option=com_user&task=logout&return={base64_encode('index.php')}">Salir</a>
    </div>
</form>
{/block}